package com.acoreful.acf2admin.commons.mq.producer;

import org.springframework.stereotype.Component;

import com.acoreful.acf2admin.commons.mq.RabbitMqProducer;
import com.acoreful.acf2admin.commons.mq.data.SmsData;

@Component
public class BxloanProducerImpl extends RabbitMqProducer implements BxloanProducer {

	@Override
	public void sendSms(String mobile, String content) {
		SmsData smsData = new SmsData();
		smsData.setMobile(mobile);
		smsData.setContent(content);
		send("bxloan.exchange", "bxloan.queue.key.sms", smsData);
	}

}
